# a, b, c = 1, 2, 3
# print(a, b, c)
#
# a, b, c = c, b, a  # a=2, b=1
# print(a, b, c)

def get_user():
    return "Alice", 30


name, age = get_user()
print(name, age)

# 合并字典（Python 3.9+）
dict1 = {"a": 1}
dict2 = {"b": 2}
merged = {**dict1, **dict2}  # {"a":1, "b":2}
print(merged)


def func(a, *args, b=0, **kwargs):
    pass


print(func(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, b=1, c=2, d=3))
